package redis;

import redis.clients.jedis.JedisPool;
import redis.clients.jedis.JedisPoolConfig;

/**
 * Created by Administrator on 2017/12/28.
 */
public class RedisUtil {


    private static JedisPool jedisPool = null;



    static {
        JedisPoolConfig config = new JedisPoolConfig();
        config.setMaxIdle(10);
        config.setMaxTotal(10);
        config.setTestOnBorrow(true);
        jedisPool = new JedisPool(config,"192.168.220.136",6379,1000,"123");
    }
}
